package com.tmc.entity.common;

/**
 * eth_vendor_account 实体类 Tue Nov 29 10:41:17 CST 2016 pei
 */

public class EthInterfaceAccount extends BaseEntity {
	
	private static final long serialVersionUID = 3592008730782856888L;
	private Long accountId;
	private String accountType;
	private String vendorCode;
	private String vendorName;
	private String environment;
	private String url;
	private String username;
	private String password;
	private String proxyFlag;
	private String proxyHost;
	private String proxyPort;
	private String officeNo;
	private String iata;
	private String airportCode;
	
	public String getAccountKey(){
		return this.vendorCode + "_" + this.accountType + "_" + this.environment;
	}
	
	public static String accountKey(String vendorCode, String accountType, String environment){
		return vendorCode + "_" + accountType + "_" + environment;
	}

	public void setAccountId(Long accountId) {
		this.accountId = accountId;
	}

	public Long getAccountId() {
		return accountId;
	}

	public void setVendorCode(String vendorCode) {
		this.vendorCode = vendorCode;
	}

	public String getVendorCode() {
		return vendorCode;
	}

	public void setEnvironment(String environment) {
		this.environment = environment;
	}

	public String getEnvironment() {
		return environment;
	}

	public void setUrl(String url) {
		this.url = url;
	}

	public String getUrl() {
		return url;
	}

	public void setUsername(String username) {
		this.username = username;
	}

	public String getUsername() {
		return username;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public String getPassword() {
		return password;
	}

	public void setProxyFlag(String proxyFlag) {
		this.proxyFlag = proxyFlag;
	}

	public String getProxyFlag() {
		return proxyFlag;
	}

	public void setProxyHost(String proxyHost) {
		this.proxyHost = proxyHost;
	}

	public String getProxyHost() {
		return proxyHost;
	}

	public void setProxyPort(String proxyPort) {
		this.proxyPort = proxyPort;
	}

	public String getProxyPort() {
		return proxyPort;
	}

	public void setOfficeNo(String officeNo) {
		this.officeNo = officeNo;
	}

	public String getOfficeNo() {
		return officeNo;
	}

	public void setIata(String iata) {
		this.iata = iata;
	}

	public String getIata() {
		return iata;
	}

	public void setAirportCode(String airportCode) {
		this.airportCode = airportCode;
	}

	public String getAirportCode() {
		return airportCode;
	}

	public String getVendorName() {
		return vendorName;
	}

	public void setVendorName(String vendorName) {
		this.vendorName = vendorName;
	}

	public String getAccountType() {
		return accountType;
	}

	public void setAccountType(String accountType) {
		this.accountType = accountType;
	}
}
